// var host = 'https://flk.youqupingou.com/';    //主机地址
var host = 'https://xcx.zhilefang.com/';    //主机地址


var config = {
  service: {
    login: `${host}user/login/index`,   //登录 POST
    index: `${host}default/index`,   //站点信息（里面有轮播图数据）GET
    PhoneModel: `${host}/repair/mobile/category`,    //手机品牌+型号 GET
    faultModel: `${host}repair/mobile`,    //指定机型故障分类  GET
    faultList: `${host}repair/mobile/fault`,    //指定故障报修列表 GET  
    faultDetails: `${host}default/goods`,    //获取故障报价详情 GET          
    ShopSite: `${host}keep/store/search`,    //门ShopSite店地址  GET
    addressList: `${host}user/address`,    //我的收货地址  GET
    deleteAddress: `${host}user/address/delete`,    //删除收货地址  GET
    district: `${host}user/area/index`,   //省-市-区-县-镇 联动    GET
    addAddress: `${host}user/address/add`,   //收货地址添加+编辑   GET
    addCart: `${host}cart/add-cart`,    //购物车暂存(预约、加入购物车)   POST
    getAddCart: `${host}cart/list`,   //获取购物车内容   GET
    PlaceAnOrder: `${host}keep/order/add`,    //下订单 【到店】 POST,
    orderDetail: `${host}/user/order/detail`,   //查看订单详情  GET,
    cancelAnOrder: `${host}keep/order/cancel`,  //取消订单  GET
    opinion: `${host}keep/order/evaluate`,    //商品评价  POST
    orderList: `${host}user/order`,    //查看订单  POST
    CityList:`${host}keep/store/city`,    //获取城市列表    POST
    ShopType:`${host}keep/store/store_type`,    //获取门店类型    POST
    ShopDetails: `${host}keep/store/detail`,    //获取门店详情    POST
    ImgHost: host,
    Silde: `${host}keep/slide`,   //轮播
  }
}

module.exports = config;